﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;   //   for Texture2D
using Microsoft.Xna.Framework;  //  for Vector2

namespace Pacman
{
    class TextureAnime : TexturePositionne
    {
        private Vector2 _vitesse;     //  sprite deplacement speed

        public TextureAnime(Texture2D texture, Vector2 position, Vector2 vitesse) : base(texture, position)
        {
            this._vitesse = vitesse;
        }


        public Vector2 Vitesse
        {
            get { return _vitesse; }
            set { _vitesse = value; }
        }

    }
}
